//
//  AllOrderViewModel.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/26.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "GLGWBaseViewModel.h"
#import "AllOrderModel.h"

@protocol OrderBottomOperationDelegate <NSObject>
- (void)fillInTheOrder;//填写订单
- (void)payTheOrder;//pc支付
- (void)orderListDidSelectRowAtIndexPath:(AllOrderDetailListModel * __nullable)orderListModel;
@end

NS_ASSUME_NONNULL_BEGIN

@interface AllOrderViewModel : GLGWBaseViewModel
@property (nonatomic,assign) id<OrderBottomOperationDelegate>delegate;
@property (nonatomic, assign) OrderType type;
@property (nonatomic, strong, readonly) RACCommand *invoiceCommand;

@property (nonatomic, copy) void (^BlockBttomBtnClick)(GLGWButton *btn, AllOrderDetailListModel *listModel);

@end

NS_ASSUME_NONNULL_END
